// 头部
header{
    width: 100%;
    height: 58px;
    background-color: rgb(242,107,17);
    // 网页logo
    .logo{
        margin-top: 10px;
        margin-left: 18px;
    }
    .more{
        opacity: 0.7;
        border-radius: 4px;
        height: 35px;width: 35px;
        border: 2px solid white;
        margin-left: 10px;
        text-align: center;
        line-height: 35px;
        margin-top: 10.5px;
        display: none;
        i{
            font-size: 30px;
            color: white;
        }
        float: left;
    }
    // 右侧的用户信息
    .user_info{
        height: 58px;
        display: flex;
        width: 180px;
        justify-content: space-between;
        align-items: center;
        margin-right: 25px;
        .icon{
            display: block;
            height: 40px;
            width: 40px;
            border-radius: 50%;
        }
        h2{
            font-size: 14px;
            color: white;
        }
        p{
            i{
                margin-right: 5px;
            }
            font-size: 14px;
            color: white;
        }
    }
}
// 主体部分
main{
    width: 100%;
    display: flex;
    // 主体的侧边栏
    aside{
        flex-shrink: 0;
        overflow: hidden;
        width: 220px;
        background-color: white;
        font-size: 14px;
        .d1{
            margin-top: 25px;
        }
        .d1,.d2,.d3,.d4{
            &:hover dt{
                color: rgb(236,151,32);
            }
            &:hover dd{
                display: block;
            }
        }
        dd:hover{
            background-color: rgb(236,151,32);
                color: white;
        }
        dl{         
            margin-left: 54px;
            margin-bottom: 10px;
            dt,dd{
                padding-left: 10px;
                height: 42px;
                line-height: 42px;
                cursor: pointer;
                i{
                    margin-right: 10px;
                }
            }
            dd{
                display: none;
                margin-left: 20px;
                margin-top: 5px;
            }
        }
    }
    // 右侧的各种信息
    .main_right{
        width: 100%;
        padding: 20px 27px;
        h1{
            font-size: 14px;
            padding-left: 10px;
            box-sizing: border-box;
            border-left: 5px solid rgb(239,111,14);
            span{
                font-size: 12px;
                float: right;
                i{
                    font-size: 12px;
                }
            }
        }
        .box1{
            border-top: 1px solid rgb(187,187,187);
            width: 100%;
            margin-top: 24px;
            .box_header{
                margin-top: 20px;
                .b_h_left{
                    float: left;
                    box-sizing: border-box;
                    width: 76px;
                    height: 36px;
                    background-color: rgb(255,220,170);
                    border: 1px solid rgb(220,164,113);
                    border-radius: 5px;
                    font-size: 12px; 
                    svg{
                        margin-left: -5px;
                        vertical-align: middle;
                        width: 25px;
                        height: 20px;
                    }
                }
                .b_h_right{
                    float: right;
                    display: flex;
                    div{
                        height: 36px;
                        background-color: white;
                        border: 1px solid rgb(215,163,115);
                        box-sizing: border-box;
                        border-radius: 4px 0 0 0;
                        input{
                            line-height: 36px;
                            margin-left: 10px;
                        }
                    }
                    button{
                        width: 95px;
                        height: 36px;
                        background-color: rgb(242,96,23);
                        border-radius: 0 4px 4px 0;
                        color: white;
                    }
                }
            }
            table{
                margin-top: 20px;
                width: 100%;
                border-color: rgb(215,163,115);
                tr{
                    &:nth-of-type(even){
                        background-color: rgb(255,247,232);
                    }
                    &:nth-of-type(odd){
                        background-color: white;
                    }
                    &:nth-of-type(1){
                        background-color: rgb(255,220,170);
                        td{
                            height: 42px;
                        }
                        
                    }
                    td{
                        height: 60px;
                        padding-left: 20px;
                        &:nth-child(1){
                            padding-left: 0;
                            text-align: center;
                        }
                        &:nth-child(6){
                            p{
                                &:nth-child(2){
                                    margin-top: 5px;
                                    a{
                                        color: rgb(237,85,10);
                                        &:nth-child(2){
                                            margin-left: 5px;
                                        }
                                    }
                                }
                            }
                        }
                        &:nth-child(5){
                            span{
                                &:nth-child(2){
                                    margin-left: 5px;
                                }
                            }
                        }
                    }
                }
            }
            footer{
                display: flex;
                justify-content: space-between;
                width: 100%;
                align-items: center;
                margin-top: 20px;
                span{
                    strong{
                        color: rgb(235,85,9);
                    }
                }
                .page{
                    display: flex;
                    border: 1px solid rgb(221,221,221);
                    div{
                        cursor: pointer;
                        width: 32px;height: 36px;
                        line-height: 36px;
                        text-align: center;
                        background-color: #fff;
                        border-right: 1px solid rgb(221,221,221);
                        &:nth-last-child(1){
                            border-right:none;
                        }
                        &:nth-child(2){
                            background-color: rgb(244,246,245);
                            color: rgb(240,141,11);
                        }
                        &:hover{
                            background-color: rgb(244,246,245);
                            color: rgb(240,141,11);
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width:768px){
    main .main_right .box1 table tr td:nth-child(5){
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    main .main_right .box1 table tr td:nth-child(5) span:nth-child(2){
        margin-left: 0;
        margin-top: 5px;
    }
    main .main_right .box1 table tr td:nth-child(6) p:nth-child(2) a{
        display: flex;
        flex-direction: column;
        &:nth-child(2){
            margin-left: 0;
            margin-top: 5px;
        }
    }
    main .main_right .box1 footer{
        flex-direction: column;
        .page{
            margin-top: 10px;
        }
    }
    main aside{
        display: none;
      }
    header .logo{
        display: none;
    }
    header .more{
        display: block;
    }
}